<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        function doshutdown() {
            gtk::main_quit();
        }
            
        function btnClick($button) {
            print "I'm not telling you twice.";
        }
        
        $window =& new GtkWindow();
        $window->connect ("destroy", "doshutdown");
        
        $button =& new GtkButton("Hello, GTK!");
        $button->connect ("clicked", "btnClick");
        
        $window->add($button);
        $window->show_all();
        
        gtk::main();
        ?>
    </body>
</html>
